﻿
(function ($) {
    var height = window.screen.height - 250;
    var width = window.screen.width;
    var leftW = 300;
    if (width > 1200) {
        leftW = 500;
    } else if (width > 1000) {
        leftW = 350;
    } else {
        leftW = 100;
    }
    var html = "<div id='jquery-easyui-loding' style='height:" + height + "px;' class='jquery-easyui-loding'><div style='left:" + leftW + "px;' class='loding-msg'>正在加载，请等待...</div></div>";
    jQuery.extend({
        ajaxEasyuiLoading: function () {
            $('body').append(html);
        },
        removeAjaxEasyuiLoading: function () {
            $('#jquery-easyui-loding').remove();
        },
    });

})(jQuery);
